writing the unit tests meaning in English
编写单元测试
Examples
- You would write the unit tests , run them , and see that they fail
你将编写单元测试程序,运行他们,看到他们运行失败。 - You can use them when you have written the unit test from scratch or are refining a unit test that was generated from code you are testing
当您从头开始编写了单元测试或对由测试的代码生成的单元测试进行改进时,您便可以使用这些类和成员。 - Good developers write the unit tests first . once tests are done , they write implementation code until the unit tests pass . then they stop
好的开发者应该先写单元测试。测试代码完成以后,他们才开始编写具体的实现代码,并使之能够通过单元测试。然后当前的开发就可以告一段落了。